package com.leng.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @program: t139springcloudalibaba
 * @description: 账户类
 * @author: Mr.Nie
 * @create: 2022-06-15 15:31
 **/
@Getter
@Setter
@Accessors(chain = true)
@TableName("account")
public class Account {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String cardNo;

    private String password;

    private Double balance;

    private Integer status;

    private Integer userId;
}
